﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wuc_DangNhap.ascx.cs" Inherits="FastDeal.Control.wuc_DangNhap" %>
<style type="text/css">
    .style1 {
        width: 37%;
        margin-right: 0px;
    }
</style>
<div id="form_dangnhap">
    <!--Panel đăng nhập-->
    <asp:Panel ID="Panel_DangNhap" runat="server">
        <div>
        <table class="style1">
            <tr>
                <td class="style4" align="center">
                        
                    <asp:Label ID="Label3" runat="server" Text="UserName"></asp:Label>
                        
                </td>
                <td align="left">
                    <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style4" align="center">
                    <asp:Label ID="Label4" runat="server" Text="Password"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtMatKhau" runat="server" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style4" colspan="2" align="center">
                    <asp:Label ID="lbLoi" runat="server" ForeColor="Red" Text="Thông Báo Lỗi"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="center" class="style3" colspan="2">
                    &nbsp;
                    <asp:Button ID="btnDangNhap" runat="server" onclick="btnDanhNhap_Click" 
                        Text="Đăng Nhập" />
                    <asp:HyperLink ID="linkDangKy" runat="server" ForeColor="#6666FF" 
                        NavigateUrl="~/DangKy.aspx">Đăng Ký</asp:HyperLink>
                    <br />
                    <asp:HyperLink ID="linkQuenMatKhau" runat="server" 
                        NavigateUrl="~/QuenMatKhau.aspx">Quên Mật Khẩu</asp:HyperLink>
                </td>
            </tr>
        </table>
    </div>
    </asp:Panel>

    <!--Panel đăng xuất -->
    <asp:Panel ID="Panel_DangXuat" runat="server">
        <asp:Label ID="lbUserName" runat="server" Text="Thông Tin Đăng Nhập"></asp:Label>
        <asp:Button ID="btnDangXuat" runat="server" Text="Đăng Xuất" 
            onclick="btnDangXuat_Click1" />
        <br />
        <asp:ImageButton ID="ImageButton2" runat="server" 
            ImageUrl="~/Image/user-female.png" PostBackUrl="~/ThongTinTaiKhoan.aspx" />
        <asp:HyperLink ID="HyperLink3" runat="server" 
            NavigateUrl="~/ThongTinTaiKhoan.aspx">Tài Khoản</asp:HyperLink>
        <asp:ImageButton ID="ImageButton1" runat="server" Height="16px" 
            ImageUrl="~/Image/cart-alt-4.png" PostBackUrl="~/Cart.aspx" 
            Width="16px" onclick="ImageButton1_Click" />
        <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Cart.aspx">Giỏ Hàng</asp:HyperLink>
&nbsp;<asp:Panel ID="pnQuanTri" runat="server" Width="300px" Visible="False">
            <asp:ImageButton ID="ImageButton3" runat="server" Height="16px" 
                ImageUrl="~/Image/bank.png" PostBackUrl="~/Admin/Default.aspx" 
                Width="16px" />
            &nbsp;
            <asp:HyperLink ID="HyperLink2" runat="server" 
                NavigateUrl="~/Admin/Default.aspx">Quản trị</asp:HyperLink>
        </asp:Panel>
        <asp:Panel ID="pnDoanhNghiep" runat="server" Width="300px" Visible="False">
            <asp:ImageButton ID="ImageButton4" runat="server" Height="16px" 
                ImageUrl="~/Image/bank.png" PostBackUrl="~/DoanhNghiep/Default.aspx" 
                Width="16px" />
            &nbsp;
            <asp:HyperLink ID="HyperLink1" runat="server" 
                NavigateUrl="~/DoanhNghiep/Default.aspx">Thông Tin Doanh Nghiệp</asp:HyperLink>
        </asp:Panel>

&nbsp;</asp:Panel>
</div> <!--end form_dangnhap-->
